﻿namespace KinonekoSoftware.Foundation.UI.Converters
{
    public static partial class ConverterPool
    {
        public static StringToBrushConverter     StringToBrush       { get; } = new StringToBrushConverter();
        public static StringToColorConverter     StringToColor       { get; } = new StringToColorConverter();
        public static StringCombinationConverter StringConcat        { get; } = new StringCombinationConverter();
        public static StringToIntConverter       StringToInt         { get; } = new StringToIntConverter();
        public static EnumToStringConverter      EnumToString        { get; } = new EnumToStringConverter();
        public static ColorToRGBConverter        ToRGB               { get; } = new ColorToRGBConverter(false);
        public static ColorToRGBConverter        ToARGB              { get; } = new ColorToRGBConverter(true);
        public static ColorToBrushConverter      ToBrush             { get; } = new ColorToBrushConverter { Opacity = 1d };
        public static ColorToBrushConverter      ToTranslucencyBrush { get; } = new ColorToBrushConverter { Opacity = 0.3d };
    }
}